﻿@model ESN.Models.CustomProfile

<div class="ui-corner-all ui-widget-content">
    <img width="160" src="@Model.Avatar" alt="avatar" />
    <div>@Model.DisplayName</div>
    <div>From: @Model.Location</div>
    @if (ViewBag.ShowFriendRequest)
    {
        <div id="submitedDialog">
            <div id="friendRequessNote"></div>
            <div id="requestArea">
                <img width="20px" src="@Model.Avatar" alt="avatar" />
                say some thing to <span><a href="/@Model.UserName/Home">@Model.DisplayName</a></span>
                <textarea id="sayHi" rows="3" cols="20" style="width:100%;"></textarea>
                <input type="button" id="okSubmit" value="Send" />
            </div>
        </div>
        <input type="button" id="makeFriend" value="Send Friend Request" />
    }
    <a href="/@Model.UserName/Friends">@Model.DisplayName Friends List</a>
</div>